|
Foxit PDF SDK
|
Public 成员函数 | |
| def | PDF3DAnnotInstance () |
| 构造函数。 | |
| def | PDF3DAnnotInstance (other) |
| 带另一个3D注释实例对象的构造函数。 更多... | |
| def | ActivateCanvas (screen_canvas_parent) |
| 激活画布。 更多... | |
| def | ApplyPresetView (view_data) |
| 应用预设视图。 更多... | |
| def | GetPresetViewList () |
| 获取3D模型中所有预设视图的列表。 更多... | |
| def | GetRootNode () |
| 获取3D模型树结构的根节点。 更多... | |
| def | IsEmpty () |
| 检查当前对象是否为空。 更多... | |
| def | OnLButtonDown (flag, point) |
| 按下左键时调用此函数。 更多... | |
| def | OnLButtonUp (flag, point) |
| 释放左键时调用此函数。 更多... | |
| def | OnMouseMove (flag, point) |
| 移动鼠标时调用此函数。 更多... | |
| def | OnMouseWheel (flag, delta, point) |
| 滚动鼠标滚轮时调用此函数。 更多... | |
| def | OnRButtonDown (flag, point) |
| 按下右键时调用此函数。 更多... | |
| def | OnRButtonUp (flag, point) |
| 释放右键时调用此函数。 更多... | |
| def | ResetDefaultView () |
| 将视图重置为默认视图,3D模型将重置为其默认状态。 更多... | |
| def | SetController (tool_tag) |
| 设置控制器。 更多... | |
| def | SetRenderMode (render_mode) |
| 设置模型渲染模式。 更多... | |
| def | UpdateCanvas (rect) |
| 更新画布。 更多... | |
静态 Public 属性 | |
| e_ControllerFly = _fsdk.PDF3DAnnotInstance_e_ControllerFly | |
| 飞行。 | |
| e_ControllerPan = _fsdk.PDF3DAnnotInstance_e_ControllerPan | |
| 平移。 | |
| e_ControllerRotate = _fsdk.PDF3DAnnotInstance_e_ControllerRotate | |
| 旋转。 | |
| e_ControllerSpin = _fsdk.PDF3DAnnotInstance_e_ControllerSpin | |
| 自旋。 | |
| e_ControllerWalk = _fsdk.PDF3DAnnotInstance_e_ControllerWalk | |
| 步行。 | |
| e_ControllerZoom = _fsdk.PDF3DAnnotInstance_e_ControllerZoom | |
| 缩放。 | |
| e_RenderModeBoundingBox = _fsdk.PDF3DAnnotInstance_e_RenderModeBoundingBox | |
| 边界框。 | |
| e_RenderModeHiddenWireframe = _fsdk.PDF3DAnnotInstance_e_RenderModeHiddenWireframe | |
| 隐藏线框。 | |
| e_RenderModeIllustration = _fsdk.PDF3DAnnotInstance_e_RenderModeIllustration | |
| 插图。 | |
| e_RenderModeShadedIllustration = _fsdk.PDF3DAnnotInstance_e_RenderModeShadedIllustration | |
| 阴影插图。 | |
| e_RenderModeShadedVertices = _fsdk.PDF3DAnnotInstance_e_RenderModeShadedVertices | |
| 阴影顶点。 | |
| e_RenderModeShadedWireframe = _fsdk.PDF3DAnnotInstance_e_RenderModeShadedWireframe | |
| 阴影线框。 | |
| e_RenderModeSolid = _fsdk.PDF3DAnnotInstance_e_RenderModeSolid | |
| 实体。 | |
| e_RenderModeSolidOutline = _fsdk.PDF3DAnnotInstance_e_RenderModeSolidOutline | |
| 实体轮廓。 | |
| e_RenderModeSolidWireframe = _fsdk.PDF3DAnnotInstance_e_RenderModeSolidWireframe | |
| 实体线框。 | |
| e_RenderModeTransparent = _fsdk.PDF3DAnnotInstance_e_RenderModeTransparent | |
| 透明。 | |
| e_RenderModeTransparentBoundingBox = _fsdk.PDF3DAnnotInstance_e_RenderModeTransparentBoundingBox | |
| 透明边界框。 | |
| e_RenderModeTransparentBoundingBoxOutline = _fsdk.PDF3DAnnotInstance_e_RenderModeTransparentBoundingBoxOutline | |
| 透明边界框轮廓。 | |
| e_RenderModeTransparentWireframe = _fsdk.PDF3DAnnotInstance_e_RenderModeTransparentWireframe | |
| 透明线框。 | |
| e_RenderModeVertices = _fsdk.PDF3DAnnotInstance_e_RenderModeVertices | |
| 顶点。 | |
| e_RenderModeWireframe = _fsdk.PDF3DAnnotInstance_e_RenderModeWireframe | |
| 线框。 | |
此类代表3D 注释实例。
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.PDF3DAnnotInstance | ( | other | ) |
带另一个3D注释实例对象的构造函数。
| [in] | other | 另一个3D注释实例对象。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.ActivateCanvas | ( | screen_canvas_parent | ) |
激活画布。
| [in] | screen_canvas_parent | 用于激活画布的父窗口句柄。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.ApplyPresetView | ( | view_data | ) |
应用预设视图。
确保已调用函数。
| [in] | view_data | 要设置的视图数据。应为函数返回的数据数组中的一个。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.GetPresetViewList | ( | ) |
获取3D模型中所有预设视图的列表。
确保已调用函数。
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.GetRootNode | ( | ) |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.IsEmpty | ( | ) |
检查当前对象是否为空。
当当前对象为空时,表示当前对象无用。
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.OnLButtonDown | ( | flag, | |
| point | |||
| ) |
按下左键时调用此函数。
确保已调用函数。
| [in] | flag | 鼠标事件的标志。 |
| [in] | point | 鼠标的位置。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.OnLButtonUp | ( | flag, | |
| point | |||
| ) |
释放左键时调用此函数。
确保已调用函数。
| [in] | flag | 鼠标事件的标志。 |
| [in] | point | 鼠标的位置。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.OnMouseMove | ( | flag, | |
| point | |||
| ) |
移动鼠标时调用此函数。
确保已调用函数。
| [in] | flag | 鼠标事件的标志。 |
| [in] | point | 鼠标的位置。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.OnMouseWheel | ( | flag, | |
| delta, | |||
| point | |||
| ) |
滚动鼠标滚轮时调用此函数。
确保已调用函数。
| [in] | flag | 鼠标事件的标志。 |
| [in] | delta | 鼠标滚轮的增量。 |
| [in] | point | 鼠标的位置。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.OnRButtonDown | ( | flag, | |
| point | |||
| ) |
按下右键时调用此函数。
确保已调用函数。
| [in] | flag | 鼠标事件的标志。 |
| [in] | point | 鼠标的位置。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.OnRButtonUp | ( | flag, | |
| point | |||
| ) |
释放右键时调用此函数。
确保已调用函数。
| [in] | flag | 鼠标事件的标志。 |
| [in] | point | 鼠标的位置。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.ResetDefaultView | ( | ) |
将视图重置为默认视图,3D模型将重置为其默认状态。
确保已调用函数。
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.SetController | ( | tool_tag | ) |
设置控制器。
确保已调用函数。
| [in] | tool_tag | 要设置的控制器工具。请参考从FoxitPDFSDKPython2.PDF3DAnnotInstance.e_ControllerRotate 开始的值,这应该是这些值中的一个。 默认值:FoxitPDFSDKPython2.PDF3DAnnotInstance.e_ControllerRotate 。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.SetRenderMode | ( | render_mode | ) |
设置模型渲染模式。
确保已调用函数。
| [in] | render_mode | 要设置的渲染模式。请参考从FoxitPDFSDKPython2.PDF3DAnnotInstance.e_RenderModeSolid 开始的值,这应该是这些值中的一个。 默认值:FoxitPDFSDKPython2.PDF3DAnnotInstance.e_RenderModeSolidOutline 。 |
| def FoxitPDFSDKPython2.PDF3DAnnotInstance.UpdateCanvas | ( | rect | ) |
更新画布。
确保已调用函数。 当画布大小和位置需要更新时调用此函数。
| [in] | rect | 设备坐标系统中画布的新区域。 |